package com.sanben.demand.mapper;

import com.sanben.demand.entity.CommentReply;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sanben.demand.data.dto.CommentReplyDto;
import com.sanben.demand.data.vo.CommentReplyVo;
import com.sanben.demand.data.req.CommentReplyReq;

/**
 * @author cyh
 * @description: comment_reply 评论回复表 Mapper
 * @date: 2020-08-18
 */
public interface CommentReplyMapper extends BaseMapper<CommentReply> {
        /**
         * 列表分页
         * @param page
         * @param req
         * @return
         */
        List<CommentReplyVo> page(Page<CommentReplyVo> page,
@Param("req") CommentReplyReq req);
}
